package study.reactive.springboot.webflux.support;

import cn.hutool.core.util.StrUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.Arrays;
import java.util.List;

@Slf4j
@SpringBootApplication(scanBasePackages = "study.reactive.springboot.webflux")
public class SpringBootCfg {

    public static void main(String[] args) {
        List<String> dataLt = Arrays.asList("abc", "123", "bcd");
        dataLt.forEach(e -> {
            if (StrUtil.equals(e, "123")) {
                return;
            }
            log.info(">>>>>> {}", e);
        });
    }
}
